#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include <calibrationtoolkit.h>
#include <QInputDialog>
#include <QSettings>
#include <QString>
#include <QSize>
#include <QSizeF>
#include <QStringList>
#include <QDebug>

namespace Ui {
class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    MainWindow(QWidget *parent = 0);
    ~MainWindow();

//signals:
//    void emitCamPara(const std::string &path);
//    void emitChessPath(const std::string &path);

private slots:
    void cali();
    void findchess();

private:

    void loadConfig();
    std::string getDirectory();

    std::vector<std::string> getTopicAndType(const QString &megs);

    Ui::MainWindow *ui;
    std::string cameraParaFile_, findChessPath_;

    CalibrateCameraVelodyneChessboardROS * calibration;
};

#endif // MAINWINDOW_H
